require 'list_selection_controller'
require 'model'

class ListSelectionController
	def select_workspace
		dialog = WorkspaceSelectionDialog.new
		Workspace.find_all.each {|w| dialog.add_workspace(w.id, w.name, w.description) }
		dialog.show_modal
		dialog.selected
	end
end

